<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>TAB组件</title>
<link href="../../css/bootstrap.css" rel="stylesheet" media="screen">
<link href="../../css/font-awesome.css" rel="stylesheet"> 
<link href="../../css/koala.css" rel="stylesheet" media="screen">
<script src="../../js/jquery.js" type="text/javascript"></script>
<!-- <script src="../../js/bootstrap3.js" type="text/javascript"></script> -->
<script src="../../js/Koala_Tab.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$("#btnCloseRM").click(function(){
		$("[href='#role_manage']").tab("show").tab("close");
	})
})
</script>
</head>
<body>
<div class="bs-example bs-example-tabs">
      <ul class="nav nav-tabs" id="myTab">
        <li class="active"><a data-toggle="tab" href="#home">主页</a></li>
        <li class=""><a data-toggle="tab" href="#user_manage">用户管理<i class="icon-remove tab-close"></i></a></li>
        <li class=""><a data-toggle="tab" href="#role_manage">角色管理<i class="icon-remove tab-close"></i></a></li>
        <li class=""><a data-toggle="tab" href="#resource_manage">资源管理<i class="icon-remove tab-close"></i></a></li>
        
      </ul>
      <div class="tab-content" id="myTabContent">
        <div id="home" class="tab-pane fade active in">
          测试主页内容
          <button id="btnCloseRM" class="btn btn-success">关闭角色管理</button>
        </div>
        <div id="user_manage" class="tab-pane fade">
          TEST
        </div>
        <div id="role_manage" class="tab-pane fade">
          这个是角色管理页面
        </div>
        <div id="resource_manage" class="tab-pane fade">
          这个是内容管理页面.......
        </div>
      </div>
    </div>
</body>
</html>